package com.ys.entity.base;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TB_SocialSecurityPayItem", catalog="Id")
public class TbSocialSecurityPayItem extends BaseEntity<TbSocialSecurityPayItem> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="SocialSecurityPayBid", nameJava="socialSecurityPayBid", typeDataBase="varchar")
	private String socialSecurityPayBid;
	@YsField(nameDataBase="UserMonthPerformanceId", nameJava="userMonthPerformanceId", typeDataBase="bigint")
	private Long userMonthPerformanceId;
	@YsField(nameDataBase="RetirementCompany", nameJava="retirementCompany", typeDataBase="decimal")
	private BigDecimal retirementCompany;
	@YsField(nameDataBase="RetirementPersonal", nameJava="retirementPersonal", typeDataBase="decimal")
	private BigDecimal retirementPersonal;
	@YsField(nameDataBase="LoseWorkCompany", nameJava="loseWorkCompany", typeDataBase="decimal")
	private BigDecimal loseWorkCompany;
	@YsField(nameDataBase="LoseWorkPersonal", nameJava="loseWorkPersonal", typeDataBase="decimal")
	private BigDecimal loseWorkPersonal;
	@YsField(nameDataBase="InjuryCompany", nameJava="injuryCompany", typeDataBase="decimal")
	private BigDecimal injuryCompany;
	@YsField(nameDataBase="Vbz", nameJava="vbz", typeDataBase="varchar")
	private String vbz;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TbSocialSecurityPayItem setId(Long id) {
		this.id = id;
		return this;
	}
	public String getSocialSecurityPayBid() {
		return socialSecurityPayBid;
	}
	public TbSocialSecurityPayItem setSocialSecurityPayBid(String socialSecurityPayBid) {
		this.socialSecurityPayBid = socialSecurityPayBid;
		return this;
	}
	public Long getUserMonthPerformanceId() {
		return userMonthPerformanceId;
	}
	public TbSocialSecurityPayItem setUserMonthPerformanceId(Long userMonthPerformanceId) {
		this.userMonthPerformanceId = userMonthPerformanceId;
		return this;
	}
	public BigDecimal getRetirementCompany() {
		return retirementCompany;
	}
	public TbSocialSecurityPayItem setRetirementCompany(BigDecimal retirementCompany) {
		this.retirementCompany = retirementCompany;
		return this;
	}
	public BigDecimal getRetirementPersonal() {
		return retirementPersonal;
	}
	public TbSocialSecurityPayItem setRetirementPersonal(BigDecimal retirementPersonal) {
		this.retirementPersonal = retirementPersonal;
		return this;
	}
	public BigDecimal getLoseWorkCompany() {
		return loseWorkCompany;
	}
	public TbSocialSecurityPayItem setLoseWorkCompany(BigDecimal loseWorkCompany) {
		this.loseWorkCompany = loseWorkCompany;
		return this;
	}
	public BigDecimal getLoseWorkPersonal() {
		return loseWorkPersonal;
	}
	public TbSocialSecurityPayItem setLoseWorkPersonal(BigDecimal loseWorkPersonal) {
		this.loseWorkPersonal = loseWorkPersonal;
		return this;
	}
	public BigDecimal getInjuryCompany() {
		return injuryCompany;
	}
	public TbSocialSecurityPayItem setInjuryCompany(BigDecimal injuryCompany) {
		this.injuryCompany = injuryCompany;
		return this;
	}
	public String getVbz() {
		return vbz;
	}
	public TbSocialSecurityPayItem setVbz(String vbz) {
		this.vbz = vbz;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TbSocialSecurityPayItem setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TbSocialSecurityPayItem setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TbSocialSecurityPayItem setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TbSocialSecurityPayItem tbSocialSecurityPayItem(
		String socialSecurityPayBid,
		Long userMonthPerformanceId,
		BigDecimal retirementCompany,
		BigDecimal retirementPersonal,
		BigDecimal loseWorkCompany,
		BigDecimal loseWorkPersonal,
		BigDecimal injuryCompany,
		String vbz,
		Integer status
			) {
		TbSocialSecurityPayItem entity = new TbSocialSecurityPayItem();
		entity.setSocialSecurityPayBid(socialSecurityPayBid);
		entity.setUserMonthPerformanceId(userMonthPerformanceId);
		entity.setRetirementCompany(retirementCompany);
		entity.setRetirementPersonal(retirementPersonal);
		entity.setLoseWorkCompany(loseWorkCompany);
		entity.setLoseWorkPersonal(loseWorkPersonal);
		entity.setInjuryCompany(injuryCompany);
		entity.setVbz(vbz);
		entity.setStatus(status);
		return entity;
	}
}